package cn.edu.njtc.service;

import cn.edu.njtc.entity.pojo.PatientAdverseReaction;
import cn.edu.njtc.entity.vo.PatientAdverseReactionVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface PatientAdverseReactionService extends IService<PatientAdverseReaction> {

    List<PatientAdverseReactionVo> getReactionsByUserId(Integer userId);

    PatientAdverseReactionVo getReactionById(Integer recordId);

    boolean addReaction(PatientAdverseReaction reaction);

    boolean updateReaction(PatientAdverseReaction reaction);

    boolean deleteReaction(Integer recordId);
}
